let argv = require('yargs-parser')(process.argv.slice(2));

let is_debug = false;

function LogOutput() {
}

if ((argv.debug != null) && argv.debug) {
    is_debug = true;
    console.log("Debug output mode is on.");

    exports.LogOutput = console.log;
} else {
    exports.LogOutput = LogOutput;
}
